/*
 * @Author: 'yangyuhang1203' '2621131059@qq.com'
 * @Date: 2025-07-17 11:56:31
 * @LastEditors: 'yangyuhang1203' '2621131059@qq.com'
 * @LastEditTime: 2025-07-17 12:00:00
 * @FilePath: \企业级\Day04\Test05.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
public class Test05{
    public static void main(String[] args){
      int x = 4;  //x=4
      int y = (x--)+(--x)+(x*10); 
      //x=4  x-- y=4  x=3
      //x=3 --x  x=2 y=4+2
      //x=2 y=2+4+20=26
      System.out.println("x:" +x);
      System.out.println("y:" +y);

    }
}